package com.hiss.basic.client.system;

import com.hiss.basic.model.system.domain.SysDictDomain;
import com.hiss.basic.model.system.request.SysDictCreateRequest;
import com.hiss.basic.model.system.request.SysDictQueryRequest;
import com.hiss.basic.model.system.request.SysDictUpdateRequest;
import com.hiss.basic.model.system.response.SysDictQueryResponse;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

/**
 * 系统字典 service
 */
public interface ISysDictService extends IService<SysDictDomain> {

    Page<SysDictQueryResponse> findPageList(SysDictQueryRequest request);

    SysDictDomain findByCode(String code);

    void create(SysDictCreateRequest request);

    void update(SysDictUpdateRequest request);

    void remove(Long id);
}
